Xbasic

Regular Expression Functions

Description

Functions for creating and using regular expressions

Name
Description
Overview of Regular Expressions

An overview of regular expressions, including a look at literals, wildcards, repeats, and more.

Matching Clauses in Regular Expressions

A list of various matching clauses in regular expressions with descriptions of their meanings and examples of their use.

Repetition Characters in Regular Expressions

Covers the special characters {n}, {n,}, {n,m}, ?, *, and +

REGEX_ESCAPE Function

Escapes characters that have special meaning in Regular Expressions

REGEX_GREP Function

Performs a regex grep on text. format takes \0 for all text \N for tagged expression. options same as regex_match with additional options: N No copy of unmatched text. F Only process first match.

REGEX_MATCH Function

Return TRUE if regular expression tags match.

REGEX_MERGE Function

Performs a regex merge on text. options same as regex_match with additional options: N No copy of unmatched text. F Only process first match.

REGEX_SPLIT Function

Extract regular expression tags. options same as regex_match.

REGEX_VALID Function

Validates a regular expression.

See Also